package com.topc.code.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.topc.problem.model.dto.QueryProblemInfoDto;
import com.topc.problem.model.po.ProblemInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 题目信息表 Mapper 接口
 * </p>
 *
 * @author Gogoing
 */

public interface ProblemInfoMapper extends BaseMapper<ProblemInfo> {


    List<Long> getListId(@Param("name") String name);

    Page<ProblemInfo> highSearchPage(IPage<ProblemInfo> page, @Param("dto") QueryProblemInfoDto queryProblemDto);


}
